<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN" manifest="/misc/wei_cache_new.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>优惠券</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
<style>
.toogle_wrap_blog {background-color: #ebb868;}
.toogle_wrap_blog {width:89%;padding:1.5% 4%;margin: 20px 10px;}
.radius8 {border-radius: 8px;}
.trigger_blog {background: url('/zxims/static/member/themes/fashion/img/ablog.png') no-repeat scroll 100% 0px transparent;padding: 0px;margin: 0px;}
.trigger_blog a {color: #FFF;}
.toggle_container_blog {overflow: hidden;padding: 15px 0px 0px;clear: both;}
ul.listing_detailed {list-style: none outside none;padding: 0px 0px 10px;}
ul.listing_detailed li {background: url('/zxims/static/member/themes/fashion/img/bulle.png') no-repeat scroll 10px 5px #F4F4F4;padding: 5px 0px 5px 40px;margin: 0px 0px 10px;border-radius: 8px;}
</style>
<script type="text/javascript" src="${ctxStatic}/member/themes/fashion/js/jquery.js" charset="utf-8"></script>
<script>
$(function() {
$(".toogle_wrap_blog").click(function(){
  $(".toggle_container_blog").slideToggle();
});
});
</script>
</head>
<body>
<div class="body">
  <div class="backg">
  	<div id="city">
    <p class="backp">优惠券列表</p>
   
    <div align="center">
       <c:if test="${couponTypeSwitch == 1 }">
    	 <div class="toogle_wrap_blog radius8">
                  <div class="trigger_blog activeb"><a href="#">分类列表</a></div>
                      <div style="display:none" class="toggle_container_blog">
                          <ul class="listing_detailed">
                           <a href="${ctxFront}/member/findCouponByArgs?uid=${uid}&wechatId=${wechatId}&style=${style}&ims_industry_type=全部" class="btn btn-large disabled"><li>全部类型</li></a>
                          <c:forEach items="${ ims_industry_type_list }" var="list" varStatus="i">
                          <a href="${ctxFront}/member/findCouponByArgs?uid=${uid}&wechatId=${wechatId}&style=${style}&ims_industry_type=${list.ims_industry_type } " class="btn btn-large disabled"> <li>${list.ims_industry_type }  </li></a>
                          </c:forEach>
                          </ul>
                      </div>
              </div>
              </c:if>
      </div>  
	</div>
	<div style="min-height: 450px;">
         <c:forEach items="${ couponlist }" var="prize" varStatus="i">
        <form id="inputForm" action="${ctxFront}/member/tocoponepro" method="post" >
							<input type="hidden" name="uid" value="${uid }" /> 
							<input	type="hidden" name="wechatId" value="${wechatId }" />
							<input	type="hidden" name="coponId" value="${prize.id}" />
							<input	type="hidden" name="style" value="${style}"/>
		  <section class="w-goods">
		    <div class="w-gooa">
		        <div class="img-wrapper">
		         <img src="${ctxUser}/score/${prize.show_pic}"  width="150" height="80" style="visibility: visible; " onerror="this.src='${ctxStatic}/images/zanwutupian.jpg'">
		        </div>
		        <ul>
		          <li class="title">
		    		   <span class="item-name">${prize.name}  
		          </li>
		         
		          <li class="others">
		            <input class="message-btn" value="获取" type="submit">
		          </li>
		        </ul>
		    </div>
		  </section>
	</form>
  </c:forEach>
  <c:if test="${ empty couponlist}">
  	<div class="w-gooa" style="color:red; text-align: center;margin-top:30px;">
		 暂无优惠券，敬请期待！！！
	</div>
  </c:if>
  </div>
    <c:if test="${uid ne '34' }">
		 <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp;  --><br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
</div>
</body>
</html>
